trace: Do not touch percpu data for "impossible" cpus.
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 14 May 2010 17:39:02 +0000 (18:39 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 14 May 2010 17:39:02 +0000 (18:39 +0100)
commitf9ffb1134c8be2f6bffd14578c179d3f12371abd
tree945ba74314ddc2471de86e70348427fd9db37b6c
parent06111bb25b5ca1c3c18f3af9fcc13bb4e0e10174
trace: Do not touch percpu data for "impossible" cpus.

While here, in fact only touch per-cpu data for online cpus. Use cpu
notifier chain to initialise per-cpu spinlock dynamically.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/common/trace.c